package com.common.domain.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class LeaveInfoVo {
    private Long id;

    private String rejectReason;

    /**
     * 医生id
     */
    private Long doctorId;

    private String doctorName;

    /**
     * 请假开始时间
     */
    @JSONField(format = "yyyy-MM-dd")
    private Date startTime;

    /**
     * 请假结束时间
     */
    @JSONField(format = "yyyy-MM-dd")
    private Date endTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 请假状态,0--未审核,1--审核通过,2--拒绝
     */
    private String status;

    /**
     * 请假原因
     */
    private String reason;
}
